<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import { startSakura } from '@/hooks/sakura'
import { onMounted } from 'vue';
import { NConfigProvider } from 'naive-ui'
import { zhCN, dateZhCN } from 'naive-ui'

onMounted(() => {
    startSakura()
}) 
</script>

<template>
    <n-config-provider :locale="zhCN" :date-locale="dateZhCN">
        <n-dialog-provider>
            <n-message-provider>
                <RouterView />
            </n-message-provider>
        </n-dialog-provider>
    </n-config-provider>

</template>

<style lang="scss">
</style>
